package com.houtai.bean.dto.campus;

import com.houtai.base.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;

@ApiModel(value="园区列表所需参数", description="园区列表所需参数")
public class CampusListDto extends Page {
    @NotNull(message = "园区名称不能为null")
    @ApiModelProperty(value="园区名称 可为空字符串不可不传", name="campus_name")
    private String campus_name;
    @NotNull(message = "园区类型id不能为null")
    @ApiModelProperty(value="园区类型id  0所有", name="campus_type")
    private int campus_type;

    public String getCampus_name() {
        return campus_name;
    }

    public void setCampus_name(String campus_name) {
        this.campus_name = campus_name;
    }

    public int getCampus_type() {
        return campus_type;
    }

    public void setCampus_type(int campus_type) {
        this.campus_type = campus_type;
    }
}
